package cn.stylefeng.guns.modular.fi.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.fi.entity.FiFreightDetailsLog;
import cn.stylefeng.guns.modular.fi.model.params.FiFreightDetailsLogParam;
import cn.stylefeng.guns.modular.fi.model.result.FiFreightDetailsLogResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 对账操作记录表 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2024-11-06
 */
public interface FiFreightDetailsLogService extends IService<FiFreightDetailsLog> {

    /**
     * 新增
     *
     * @author zhangzh
     * @Date 2024-11-06
     */
    void add(FiFreightDetailsLogParam param);

    /**
     * 删除
     *
     * @author zhangzh
     * @Date 2024-11-06
     */
    void delete(FiFreightDetailsLogParam param);

    /**
     * 更新
     *
     * @author zhangzh
     * @Date 2024-11-06
     */
    void update(FiFreightDetailsLogParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-11-06
     */
    FiFreightDetailsLogResult findBySpec(FiFreightDetailsLogParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2024-11-06
     */
    List<FiFreightDetailsLogResult> findListBySpec(FiFreightDetailsLogParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-11-06
     */
     LayuiPageInfo findPageBySpec(FiFreightDetailsLogParam param, String condition);

}
